Southern and Northern Dynasties . This period lasted from 420 to 589AD.
Southern and Northern Dynasties
Construction of Yungang Grottoes by Northern Wei Dynasty started and was completed in 494 .
Construction of Longmen Grottoes by Northern Wei Dynasty started when the capital was relocated from Datong to Luoyang city.